//
//  HTChoseCell.m
//  TruckDriver
//
//  Created by Ting Han on 2017/9/30.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "HTChoseCell.h"

@interface HTChoseCell()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIImageView *choseImageView;

@end

@implementation HTChoseCell
- (void)setTitleStr:(NSString *)titleStr{
    _titleStr = titleStr;
    self.titleLabel.text = titleStr;
}
- (void)setIsChoosed:(BOOL)isChoosed{
    _isChoosed = isChoosed;
    if (self.isChoosed) {
        self.choseImageView.hidden = NO;
    }else{
        self.choseImageView.hidden = YES;
    }
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
